# coding:utf-8

import os



def create_path(path):

    if os:
        raise Exception('%s has exsisted'%path)

    init_path = os.path.join(path,'__init__.py')
    f = open(init_path,'w')
    f.write('# coding:utf-8\n')
    f.close()


if __name__ == '__main__':
    current_path = os.getcwd()
    path = current_path.join('test')
    create_path(path)
